﻿namespace RestaurantMenu.Library
{
    public class NonAlcohol : Drink
    {
        // constructors
        public NonAlcohol(string drinkName, decimal price, int weight)
            :base(drinkName,price,weight)
        {
            this.PrepareTime = 0;
            this.AlcByVolume = 0;
        }

        public NonAlcohol(string drinkName, NutritionFacts nutrition, decimal price, int weight)
            : this(drinkName, price, weight)
        {
            this.Nutrition = nutrition;
        }

        // methods
        public override string ToString()
        {
            return string.Format("Drink Name : (Non Alc) {0,-21}| Price : {1,8:C2}| Weight : {2,3} ml", this.Name, this.Price, this.Weight);
        }
    }
}